package ssm.com.jy.dao.mapper;

import java.util.List;

import ssm.com.jy.entity.CoursePartBean;
import ssm.com.jy.entity.CoursesBean;

public interface CoursesBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CoursesBean record);

    CoursesBean selectByPrimaryKey(Integer id);

    List<CoursesBean> selectAll();

    List<CoursePartBean> queryByType();

    int updateByPrimaryKey(CoursesBean record);
}